Opc.Ua.Core
IsEqual<T>(T,T) Method



Opc.Ua Namespace > Utils Class > IsEqual Method : IsEqual<T>(T,T) Method
Checks if two T values are equal based on IEquatable compare.
Syntax
'Declaration
 
Public Overloads Shared Function IsEqual(Of T As IEquatable(Of T))( _
   ByVal value1 As T, _
   ByVal value2 As T _
) As Boolean
'Usage
 
Dim value1 As T
Dim value2 As T
Dim value As Boolean
 
value = Utils.IsEqual(Of T)(value1, value2)
public static bool IsEqual<T>( 
   T value1,
   T value2
)
where T: IEquatable<T>
public:
static bool IsEqualgeneric<typename T>
( 
   T^ value1,
   T^ value2
) 
where T: IEquatable<T>

Parameters

value1
value2

Type Parameters

T
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Utils Class
Utils Members
Overload List